package com.daqian.chance.core.exception;

import lombok.Data;


@Data
public class ElasticSearchException extends RuntimeException {
    public ElasticSearchException() {
        super();
    }

    public ElasticSearchException(String message) {
        super(message);
    }

    public ElasticSearchException(String message, Throwable cause) {
        super(message, cause);
    }

    public static ElasticSearchException msg(String msg) {
        return new ElasticSearchException(msg);
    }
}
